﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using COM.OA.Entity;
using COM.OA.BLL;

public partial class lb_shenpi_doshenpi : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btnkong_Click(object sender, EventArgs e)
    {
        //清空意见
        this.txbmessage.Text = "";
    }
    protected void btnyijian_Click(object sender, EventArgs e)
    {
        //id
        int ex_id = Int32.Parse(Session["eid"].ToString());
        //
        string yijian = this.txbmessage.Text;

        examine ex = examineBLL.Select(ex_id);
        ex.ex_examineidea = yijian;

        examineBLL.Update(ex);
        this.Response.Write(string.Format(GetRedirect.WINALERT,"审批成功"));
        this.Response.Write(string.Format(GetRedirect.REDIRECT,"adminshenpi.aspx"));
        
    }
}
